//
//  KKSupplyCommodityItemList.h
//  FreightAssistant
//
//  Created by Mac mini on 15/12/16.
//  Copyright © 2015年 leo. All rights reserved.
//

//  订单商品
#import "KKBaseItemList.h"

#import "KKCommodityItemList.h"

@interface KKSupplyCommodityItemList : KKBaseItemList

@end



@interface KKSupplyCommodityItem : KKBaseItem

@property (nonatomic, copy) KKCommodityItem *kk_commodityItem;

@property (nonatomic, copy) NSString *kk_name;              /**< 商品名称*/
@property (nonatomic, copy) NSNumber *kk_price;             /**< 商品价格*/
@property (nonatomic, copy) NSNumber *kk_discount;          /**< 商品折扣*/
@property (nonatomic, copy) NSNumber *kk_number;            /**< 商品数量*/

- (instancetype)initWithItem:(KKCommodityItem *)item;

/**
 *  总金额
 *
 *  @return
 */
- (double)totalAmount;

/**
 *  盈利
 *
 *  @return
 */
- (double)profitAmount;

/**
 *  总盈利
 *
 *  @return
 */
- (double)totalProfitAmount;

@end